﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Commctrol_OldSearchList : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //this.rtSearchList.DataSource = BandDG();
        //this.rtSearchList.DataBind();
    }

    private DataTable BandDG()
    {
        DataTable dt = new DataTable();
        dt.Columns.Add("Imag");
        dt.Columns.Add("title");
        dt.Columns.Add("unit");
        dt.Columns.Add("Area");
        dt.Columns.Add("price");
        dt.Columns.Add("floor");
        dt.Columns.Add("size");
        dt.Columns.Add("sumprice");
        dt.Columns.Add("Name");
        dt.Columns.Add("company");

        for (int i = 0; i < 20; i++)
        {
            DataRow dr = dt.NewRow();

            dr[0] = "../Image/22.gif";
            dr[1] = "黄金地段、朝南、一房一厅";
            dr[2] = "三室两厅";
            dr[3] = "汇丽花园 长寿路822弄";
            dr[4] = "28667元/平米";
            dr[5] = "4/15层";
            dr[6] = "60平米";
            dr[7] = "200万";
            dr[8] = "小样";
            dr[9] = "陶居网";
            dt.Rows.Add(dr);
        }

        return dt;
    }
}
